#filename:setup.py
#coding: utf-8
#getPageDatesToDatabase.py打包成exe
#帮助文档http://www.py2exe.org/index.cgi/Py2exeAndPyQt

# # Solution
# from py2exe.build_exe import py2exe
# from distutils.core import setup
# setup( console=[{"script": "main.py"}] )
	
  
# # Another Solution to the same problem:	  
# from distutils.core import setup
# import py2exe
# setup(windows=[{"script":"main.py"}], options={"py2exe":{"includes":["sip"]}})


  
from distutils.core import setup
import py2exe
setup(windows=[{"script":"getPageDatesToDatabase.py"}], 
	  options={
		"py2exe":{"includes":["bs4","MySQLdb"]}
			}
	)